package com.atguigu.eduservice.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * @author abc
 * @version 1.0
 * @date 2021/3/8 11:20
 */
@Data
public class DemoData {
    //设置表头名称  index索引位置
    @ExcelProperty(value = "学生编号",index = 0)
    private Integer sno;
    @ExcelProperty(value = "学生姓名",index = 1)
    private String  sname;
}
